package jp.co.apl.haven.ao.entity;

import net.java.ao.Entity;
import net.java.ao.Preload;
import net.java.ao.schema.NotNull;
import net.java.ao.schema.Table;
import net.java.ao.schema.Unique;

@Table("selection_item")
@Preload({ "selectionItemId", "value", "label", "sortOrder" })
public interface SelectionItemEntity extends Entity {

    @Unique
    Integer getSelectionItemId();

    void setSelectionItemId(Integer selectionItemId);

    @NotNull
    String getValue();

    void setValue(String value);

    String getLabel();

    void setLabel(String label);

    Integer getSortOrder();

    void setSortOrder(Integer sortOrder);

    void setQuestion(QuestionEntity question);

}
